package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;
import java.util.Set;

//套餐
public interface SetmealService {

    Page<Setmeal> findByPage(String name, Integer pageNum, Integer pageSize);

    void save(Setmeal setmeal);

    void deleteByIds(Long[] ids);

    Setmeal selectById(Long id);

    void updateSetMeal(Setmeal setmeal);

    ResultInfo updateSetMealStatus(int status, Long[] ids);

    List<Setmeal> findByCategoryId(Long categoryId, Integer status);

    List<Dish> findSetMeal(Long id);
}
